/*
 * @Author: your name
 * @Date: 2021-09-06 15:32:02
 * @LastEditTime: 2021-09-18 22:47:34
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \code\ej-webui-team\src\store\index.js
 */
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import category from './modules/category' //产品栏目
import waiter from './modules/waiter'  //员工
import guanli from './modules/guanli'  //管理员
import costomer from './modules/costomer'    //顾客
import role from './modules/role'    //顾客
import source from './modules/source'    //顾客
 


Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    category,
    app,
    settings,
    user,
    category,
    waiter,
    guanli,
    costomer,
    role,
    source
  },
  getters
})

export default store
